import mitt from 'mitt'

type Events = {
    rubikResize: {
        frontPercent: number,
        endPercernt: number
    }
}

const mitter = mitt<Events>()

export default mitter